<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>appium自动化测试报告</title>
    <meta name="generator" content="HTMLTestReportCN 0.8.3"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    
<style type="text/css" media="screen">
body        { font-family: Microsoft YaHei,Tahoma,arial,helvetica,sans-serif;padding: 20px; font-size: 100%; }
table       { font-size: 100%; }
/* -- heading ---------------------------------------------------------------------- */
.heading {
    margin-top: 0ex;
    margin-bottom: 1ex;
}
.heading .description {
    margin-top: 4ex;
    margin-bottom: 6ex;
}
/* -- report ------------------------------------------------------------------------ */
#total_row  { font-weight: bold; }
.passCase   { color: #5cb85c; }
.failCase   { color: #d9534f; font-weight: bold; }
.errorCase  { color: #f0ad4e; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }
</style>

</head>
<body >
<div class='heading'>
<h1 style="font-family: Microsoft YaHei">appium自动化测试报告</h1>
<p class='attribute'><strong>测试人员 : </strong> 朕</p>
<p class='attribute'><strong>开始时间 : </strong> 2024-12-19 16:57:07</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:02:19.694485</p>
<p class='attribute'><strong>测试结果 : </strong> 共 3，通过 2，错误 1，通过率= 66.67%</p>

<p class='description'></p>
</div>


<p id='show_detail_line'>
<a class="btn btn-primary" href='javascript:showCase(4)'>概要{ 66.67% }</a>
<a class="btn btn-success" href='javascript:showCase(0)'>通过{ 2 }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 0 }</a>
<a class="btn btn-warning" href='javascript:showCase(2)'>错误{ 1 }</a>
<a class="btn btn-info" href='javascript:showCase(3)'>所有{ 3 }</a>
</p>
<table id='result_table' class="table table-condensed table-bordered table-hover">
<colgroup>
<col align='left' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
</colgroup>
<tr id='header_row' class="text-center active" style="font-weight: bold;font-size: 14px;">
    <td>用例集/测试用例</td>
    <td>总计</td>
    <td>通过</td>
    <td>失败</td>
    <td>错误</td>
    <td>详细</td>
</tr>

<tr class='warning'>
    <td>SearchTest.SearchTest</td>
    <td class="text-center">3</td>
    <td class="text-center">2</td>
    <td class="text-center">0</td>
    <td class="text-center">1</td>
    <td class="text-center"><a href="javascript:showClassDetail('c1',3)" class="detail" id='c1'>详细</a></td>
</tr>

<tr id='et1_1' class='none'>
    <td class='errorCase'><div class='testcase'>test_max</div></td>
    <td colspan='5' align='center'>
    <!--默认收起output信息 -Findyou
    <button id='btn_et1_1' type="button"  class="btn-xs collapsed" data-toggle="collapse" data-target='#div_et1_1'>错误</button>
    <div id='div_et1_1' class="collapse">  -->
    <!-- 默认展开output信息 -Findyou -->
    <button id='btn_et1_1' type="button"  class="btn-xs" data-toggle="collapse" data-target='#div_et1_1'>错误</button>
    <div id='div_et1_1' class="collapse in">
    <pre>
    
et1_1: Traceback (most recent call last):
  File "E:\code\appium_framework\common\myTest.py", line 19, in setUp
    self.driver.launch_app()
  File "D:\Python\lib\site-packages\appium\webdriver\extensions\applications.py", line 115, in launch_app
    self.execute(Command.LAUNCH_APP)
  File "D:\Python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "D:\Python\lib\site-packages\appium\webdriver\errorhandler.py", line 31, in check_response
    raise wde
  File "D:\Python\lib\site-packages\appium\webdriver\errorhandler.py", line 26, in check_response
    super().check_response(response)
  File "D:\Python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Unable to launch the app: Error: Trying to start logcat capture but it's already started!



    </pre>
    </div>
    </td>
</tr>

<tr id='pt1_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_min</div></td>
    <td colspan='5' align='center'>
    <!--默认收起output信息 -Findyou
    <button id='btn_pt1_2' type="button"  class="btn-xs collapsed" data-toggle="collapse" data-target='#div_pt1_2'>通过</button>
    <div id='div_pt1_2' class="collapse">  -->
    <!-- 默认展开output信息 -Findyou -->
    <button id='btn_pt1_2' type="button"  class="btn-xs" data-toggle="collapse" data-target='#div_pt1_2'>通过</button>
    <div id='div_pt1_2' class="collapse in">
    <pre>
    
pt1_2: 94岁西单商场宣布年底停业
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;hierarchy rotation="0"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="1"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="com.ss.android.article.news:id/oy" instance="2"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="android:id/content" instance="3"&gt;&lt;com.bytedance.android.gaia.activity.slideback.SlideFrameLayout index="0" text="" class="com.bytedance.android.gaia.activity.slideback.SlideFrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"&gt;&lt;android.view.View index="0" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"/&gt;&lt;android.widget.LinearLayout index="1" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="1"&gt;&lt;android.view.View index="0" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,30]" resource-id="com.ss.android.article.news:id/bw" instance="1"/&gt;&lt;android.widget.FrameLayout index="1" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,1280]" resource-id="com.ss.android.article.news:id/uu" instance="4"&gt;&lt;android.widget.RelativeLayout index="0" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,1280]" resource-id="" instance="0"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="com.ss.android.article.news:id/cvj" instance="5"&gt;&lt;android.widget.RelativeLayout index="0" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="" instance="1"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="com.ss.android.article.news:id/acy" instance="6"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="com.ss.android.article.news:id/a8z" instance="2"&gt;&lt;android.widget.TextView index="0" text="" class="android.widget.TextView" package="com.ss.android.article.news" content-desc="返回" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][54,97]" resource-id="com.ss.android.article.news:id/acz" instance="0"/&gt;&lt;android.widget.RelativeLayout index="1" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[54,36][702,90]" resource-id="com.ss.android.article.news:id/fs" instance="2"&gt;&lt;android.widget.ImageView index="0" text="" class="android.widget.ImageView" package="com.ss.android.article.news" content-desc="搜索" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[62,45][98,81]" resource-id="com.ss.android.article.news:id/w2" instance="0"/&gt;&lt;android.widget.EditText index="1" text="94岁西单商场宣布年底停业" class="android.widget.EditText" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="true" scrollable="false" long-clickable="true" password="false" selected="false" bounds="[98,48][573,78]" resource-id="com.ss.android.article.news:id/w3" instance="0"/&gt;&lt;android.widget.ImageView index="2" text="" class="android.widget.ImageView" package="com.ss.android.article.news" content-desc="清除" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[583,48][613,78]" resource-id="com.ss.android.article.news:id/w1" instance="1"/&gt;&lt;android.view.View index="3" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[625,54][626,71]" resource-id="com.ss.android.article.news:id/ad1" instance="2"/&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;android.widget.TextView index="1" text="搜索" class="android.widget.TextView" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[620,49][700,78]" resource-id="com.ss.android.article.news:id/w0" instance="1"/&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;android.widget.FrameLayout index="1" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/cvk" instance="7"&gt;&lt;android.widget.RelativeLayout index="0" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="3"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="8"/&gt;&lt;android.widget.LinearLayout index="1" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="for enable blue Stripe" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/aca" instance="3"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/is" instance="4"&gt;&lt;android.webkit.WebView index="0" text="" class="android.webkit.WebView" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="0"&gt;&lt;android.webkit.WebView index="0" text="" class="android.webkit.WebView" package="com.ss.android.article.news" content-desc="94岁西单商场宣布年底停业 - 头条搜索" checkable="false" checked="false" clickable="false" enabled="true" focusable="true" focused="true" scrollable="true" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="1"&gt;&lt;android.view.View index="0" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][0,97]" resource-id="transparent-wrapper" instance="3"/&gt;&lt;android.view.View index="1" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="true" long-clickable="false" password="false" selected="false" bounds="[0,97][720,141]" resource-id="" instance="4"&gt;&lt;android.view.MenuItem index="0" text="" class="android.view.MenuItem" package="com.ss.android.article.news" content-desc="综合 " checkable="true" checked="true" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[8,97][108,141]" resource-id="" instance="0"/&gt;&lt;android.widget.Button index="1" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="视频" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[106,97][207,141]" resource-id="" instance="0"/&gt;&lt;android.widget.Button index="2" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="资讯" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[206,97][307,141]" resource-id="" instance="1"/&gt;&lt;android.widget.Button index="3" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="图片" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[306,97][406,141]" resource-id="" instance="2"/&gt;&lt;android.widget.Button index="4" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="用户" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[405,97][506,141]" resource-id="" instance="3"/&gt;&lt;android.widget.Button index="5" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="小视频" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[505,97][626,141]" resource-id="" instance="4"/&gt;&lt;android.widget.Button index="6" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="音乐" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[625,97][720,141]" resource-id="" instance="5"/&gt;&lt;android.widget.Button index="7" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="问答" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[724,97][825,141]" resource-id="" instance="6"/&gt;&lt;android.widget.Button index="8" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="微头条" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[824,97][945,141]" resource-id="" instance="7"/&gt;&lt;android.widget.Button index="9" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="话题" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[944,97][1045,141]" resource-id="" instance="8"/&gt;&lt;android.widget.Button index="10" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="直播" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[1044,97][1144,141]" resource-id="" instance="9"/&gt;&lt;android.widget.Button index="11" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="百科" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[1143,97][1244,141]" resource-id="" instance="10"/&gt;&lt;android.widget.Button index="12" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="小说" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[1243,97][1344,141]" resource-id="" instance="11"/&gt;&lt;android.widget.Button index="13" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="购物" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[1342,97][1443,141]" resource-id="" instance="12"/&gt;&lt;android.widget.Button index="14" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="发现" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[1442,97][1543,141]" resource-id="" instance="13"/&gt;&lt;android.widget.Button index="15" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="文档" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[1542,97][1774,141]" resource-id="" instance="14"/&gt;&lt;/android.view.View&gt;&lt;android.view.View index="2" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][0,97]" resource-id="navbar_placeholder" instance="5"/&gt;&lt;android.view.View index="3" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[565,97][601,141]" resource-id="" instance="6"/&gt;&lt;android.widget.Button index="4" text="" class="android.widget.Button" package="com.ss.android.article.news" content-desc="筛选" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[618,97][702,141]" resource-id="" instance="15"/&gt;&lt;android.view.View index="5" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,141][0,141]" resource-id="ab-fields-group" instance="7"/&gt;&lt;android.view.View index="6" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,141][0,141]" resource-id="" instance="8"&gt;&lt;android.view.View index="0" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,141][0,141]" resource-id="h5_text" instance="9"/&gt;&lt;/android.view.View&gt;&lt;android.view.View index="7" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="没有更多内容了" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[309,161][410,178]" resource-id="" instance="10"/&gt;&lt;android.view.View index="8" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][0,97]" resource-id="" instance="11"/&gt;&lt;/android.webkit.WebView&gt;&lt;/android.webkit.WebView&gt;&lt;/android.widget.LinearLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;/com.bytedance.android.gaia.activity.slideback.SlideFrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/hierarchy&gt;


    </pre>
    </div>
    </td>
</tr>

<tr id='pt1_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_normal</div></td>
    <td colspan='5' align='center'>
    <!--默认收起output信息 -Findyou
    <button id='btn_pt1_3' type="button"  class="btn-xs collapsed" data-toggle="collapse" data-target='#div_pt1_3'>通过</button>
    <div id='div_pt1_3' class="collapse">  -->
    <!-- 默认展开output信息 -Findyou -->
    <button id='btn_pt1_3' type="button"  class="btn-xs" data-toggle="collapse" data-target='#div_pt1_3'>通过</button>
    <div id='div_pt1_3' class="collapse in">
    <pre>
    
pt1_3: 丽水演出舞台坍塌多人掉落
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;hierarchy rotation="0"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="1"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="com.ss.android.article.news:id/oy" instance="2"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="android:id/content" instance="3"&gt;&lt;com.bytedance.android.gaia.activity.slideback.SlideFrameLayout index="0" text="" class="com.bytedance.android.gaia.activity.slideback.SlideFrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"&gt;&lt;android.view.View index="0" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="0"/&gt;&lt;android.widget.LinearLayout index="1" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,1280]" resource-id="" instance="1"&gt;&lt;android.view.View index="0" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][720,30]" resource-id="com.ss.android.article.news:id/bw" instance="1"/&gt;&lt;android.widget.FrameLayout index="1" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,1280]" resource-id="com.ss.android.article.news:id/uu" instance="4"&gt;&lt;android.widget.RelativeLayout index="0" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,1280]" resource-id="" instance="0"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="com.ss.android.article.news:id/cvj" instance="5"&gt;&lt;android.widget.RelativeLayout index="0" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="" instance="1"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="com.ss.android.article.news:id/acy" instance="6"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][720,97]" resource-id="com.ss.android.article.news:id/a8z" instance="2"&gt;&lt;android.widget.TextView index="0" text="" class="android.widget.TextView" package="com.ss.android.article.news" content-desc="返回" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,30][54,97]" resource-id="com.ss.android.article.news:id/acz" instance="0"/&gt;&lt;android.widget.RelativeLayout index="1" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="true" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[54,36][702,90]" resource-id="com.ss.android.article.news:id/fs" instance="2"&gt;&lt;android.widget.ImageView index="0" text="" class="android.widget.ImageView" package="com.ss.android.article.news" content-desc="搜索" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[62,45][98,81]" resource-id="com.ss.android.article.news:id/w2" instance="0"/&gt;&lt;android.widget.EditText index="1" text="丽水演出舞台坍塌多人掉落" class="android.widget.EditText" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="true" scrollable="false" long-clickable="true" password="false" selected="false" bounds="[98,48][573,78]" resource-id="com.ss.android.article.news:id/w3" instance="0"/&gt;&lt;android.widget.ImageView index="2" text="" class="android.widget.ImageView" package="com.ss.android.article.news" content-desc="清除" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[583,48][613,78]" resource-id="com.ss.android.article.news:id/w1" instance="1"/&gt;&lt;android.view.View index="3" text="" class="android.view.View" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[625,54][626,71]" resource-id="com.ss.android.article.news:id/ad1" instance="2"/&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;android.widget.TextView index="1" text="搜索" class="android.widget.TextView" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[620,49][700,78]" resource-id="com.ss.android.article.news:id/w0" instance="1"/&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;android.widget.FrameLayout index="1" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/cvk" instance="7"&gt;&lt;android.widget.RelativeLayout index="0" text="" class="android.widget.RelativeLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="3"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="for enable blue Stripe" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/aca" instance="3"&gt;&lt;android.widget.LinearLayout index="0" text="" class="android.widget.LinearLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/is" instance="4"&gt;&lt;android.webkit.WebView index="0" text="" class="android.webkit.WebView" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="0"&gt;&lt;android.webkit.WebView NAF="true" index="0" text="" class="android.webkit.WebView" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="true" scrollable="true" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1279]" resource-id="" instance="1"/&gt;&lt;/android.webkit.WebView&gt;&lt;/android.widget.LinearLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;android.widget.FrameLayout index="1" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="" instance="8"/&gt;&lt;android.widget.FrameLayout index="2" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,97][720,1280]" resource-id="com.ss.android.article.news:id/a0h" instance="9"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[264,640][456,736]" resource-id="com.ss.android.article.news:id/a0i" instance="10"&gt;&lt;android.widget.FrameLayout index="0" text="" class="android.widget.FrameLayout" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[264,640][456,736]" resource-id="" instance="11"&gt;&lt;android.widget.ImageView index="0" text="" class="android.widget.ImageView" package="com.ss.android.article.news" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[264,640][456,736]" resource-id="" instance="2"/&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.RelativeLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;/com.bytedance.android.gaia.activity.slideback.SlideFrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/android.widget.LinearLayout&gt;&lt;/android.widget.FrameLayout&gt;&lt;/hierarchy&gt;


    </pre>
    </div>
    </td>
</tr>

<tr id='total_row' class="text-center info">
    <td>总计</td>
    <td>3</td>
    <td>2</td>
    <td>0</td>
    <td>1</td>
    <td>通过率：66.67%</td>
</tr>
</table>

<div id='ending'>&nbsp;</div>
    <div style=" position:fixed;right:50px; bottom:30px; width:20px; height:20px;cursor:pointer">
    <a href="#"><span class="glyphicon glyphicon-eject" style = "font-size:30px;" aria-hidden="true">
    </span></a></div>
    
<script language="javascript" type="text/javascript">
output_list = Array();
// 修改按钮颜色显示错误问题 --Findyou v0.8.2.3
$("button[id^='btn_pt']").addClass("btn btn-success");
$("button[id^='btn_ft']").addClass("btn btn-danger");
$("button[id^='btn_et']").addClass("btn btn-warning");
/*level
增加分类并调整，增加error按钮事件 --Findyou v0.8.2.3
0:Pass    //pt none, ft hiddenRow, et hiddenRow
1:Failed  //pt hiddenRow, ft none, et hiddenRow
2:Error    //pt hiddenRow, ft hiddenRow, et none
3:All     //pt none, ft none, et none
4:Summary //all hiddenRow
*/
//add Error button event --Findyou v0.8.2.3
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level == 0 || level == 2 || level == 4 ) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level == 1 || level == 2 || level == 4) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
        if (id.substr(0,2) == 'et') {
            if (level == 0 || level == 1 || level == 4) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
    }
    //加入【详细】切换文字变化 --Findyou
    detail_class=document.getElementsByClassName('detail');
	//console.log(detail_class.length)
	if (level == 3) {
		for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="收起"
		}
	}
	else{
			for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="详细"
		}
	}
}
//add Error button event --Findyou v0.8.2.3
function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        tid0 = 't' + cid.substr(1) + '_' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
        }
        if (!tr) {
            tid = 'e' + tid0;
            tr = document.getElementById(tid);
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        //修改点击无法收起的BUG，加入【详细】切换文字变化 --Findyou
        if (toHide) {
            document.getElementById(tid).className = 'hiddenRow';
            document.getElementById(cid).innerText = "详细"
        }
        else {
            document.getElementById(tid).className = '';
            document.getElementById(cid).innerText = "收起"
        }
    }
}
function html_escape(s) {
    s = s.replace(/&/g,'&amp;');
    s = s.replace(/</g,'&lt;');
    s = s.replace(/>/g,'&gt;');
    return s;
}
</script>
</body>
</html>
